var e = require("../../@babel/runtime/helpers/objectSpread2"), i = require("../../common/vendor.js"), r = require("./libs/luch-request/core/Request.js"), o = require("./libs/mixin/mixin.js"), t = require("./libs/mixin/mpMixin.js"), n = require("./libs/mixin/mpShare.js"), l = require("./libs/util/route.js"), s = require("./libs/function/index.js"), u = require("./libs/function/debounce.js"), c = require("./libs/function/throttle.js"), b = require("./libs/function/test.js"), m = require("./libs/function/colorGradient.js"), a = require("./libs/config/config.js"), x = require("./libs/function/platform.js"), p = e(e({
    route: l.route,
    config: a.config,
    test: b.test,
    date: s.timeFormat
}, s.index), {}, {
    colorGradient: m.colorGradient,
    hexToRgb: m.hexToRgb,
    rgbToHex: m.rgbToHex,
    colorToRgba: m.colorToRgba,
    http: new r.Request(),
    debounce: u.debounce,
    throttle: c.throttle,
    platform: x.platform,
    mixin: o.mixin,
    mpMixin: t.mpMixin
});

i.index.$uv = p;

var d = {
    install: function(e) {
        var i, r, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, l = s.deepClone(o.mixin);
        null == (i = null == l ? void 0 : l.props) || delete i.customClass, null == (r = null == l ? void 0 : l.props) || delete r.customStyle, 
        e.mixin(l), t.mpShare && e.mixin(n.mpShare), e.config.globalProperties.$uv = p;
    }
};

exports.uvUI = d;